furny.states
Class SummaryUIController<T extends IIndividual<T>>

java.lang.Object
  extended by de.lessvoid.nifty.screen.DefaultScreenController
      extended by furny.states.SummaryUIController<T>
Type Parameters:
T - The generic type of the individuals.
All Implemented Interfaces:
de.lessvoid.nifty.screen.ScreenController, IMenuListenerParent

public class SummaryUIController<T extends IIndividual<T>>
extends de.lessvoid.nifty.screen.DefaultScreenController
implements IMenuListenerParent

This is a controller that allows communication with the nifty gui.

Since:
12.08.2012
Author:
Stephan Dreyer

Field Summary
private  IInteractiveFitnessEvaluator<T> evaluator
           
private static java.util.logging.Logger LOGGER
           
private  MenuListener menuListener
           
 
Constructor Summary
SummaryUIController(IInteractiveFitnessEvaluator<T> evaluator)
          Instantiates a new summary ui controller.
 
Method Summary
 void onTerminate()
          Callback method.
 void setMenuListener(MenuListener menuListener)
          Sets the menu listener.
 
Methods inherited from class de.lessvoid.nifty.screen.DefaultScreenController
bind, gotoScreen, onEndScreen, onStartScreen
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOGGER

private static final java.util.logging.Logger LOGGER

evaluator

private final IInteractiveFitnessEvaluator<T extends IIndividual<T>> evaluator

menuListener

private MenuListener menuListener
Constructor Detail

SummaryUIController

public SummaryUIController(IInteractiveFitnessEvaluator<T> evaluator)
Instantiates a new summary ui controller.

Parameters:
evaluator - the evaluator
Since:
12.08.2012
Method Detail

setMenuListener

public void setMenuListener(MenuListener menuListener)
Description copied from interface: IMenuListenerParent
Sets the menu listener.

Specified by:
setMenuListener in interface IMenuListenerParent
Parameters:
menuListener - the new menu listener

onTerminate

public void onTerminate()
Callback method. Called from the gui.

Since:
12.08.2012